<?

if (sizeof($t = explode(':', $_SERVER['QUERY_STRING'])) == 2) {
	
	$f = (int)$t[0];
	$id = (int)$t[1];
	
	include('kcaptcha.php');
	$captcha = new KCAPTCHA();

	@file_put_contents($_SERVER['DOCUMENT_ROOT'].FP_CAPTCHAS.$id, serialize(array('field' => $f, 'value' => $captcha->getKeyString())));
}
?>